import sys
sys.path.append("../viewer/")

import datetime
from google.appengine.ext import db
from google.appengine.tools import bulkloader
import models

class NodeLoader(bulkloader.Loader):
  def __init__(self):
    bulkloader.Loader.__init__(self, 'Node',
                               [('id_str', unicode),
                                ('label', unicode),
                                ('is_browse_node', int),
                                ('layer', int),
                                ('box_x',     int),
                                ('box_y',     int),
                                ('x',     float),
                                ('y',     float)
                               ])

loaders = [NodeLoader]
